package com.bookstore.service;

import com.bookstore.domain.User;

import java.util.List;


public interface UserService {
    public User login(User user);

    Integer activation(String code);

    List<User> getUsers(Integer uType, String name);

    int upStatus(Integer status, Integer uid);

    int delUser(Integer uid);

    int addUser(User user);

    int upUser(User user);

    User findById(Integer uid);
}
